.class Lcom/netease/newsreader/activity/NewsReader$28;
.super Ljava/lang/Object;
.source "NewsReader.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/netease/newsreader/activity/NewsReader;->setListeners()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# static fields
.field private static synthetic $SWITCH_TABLE$com$netease$newsreader$activity$NewsReader$TabEnum:[I


# instance fields
.field final synthetic this$0:Lcom/netease/newsreader/activity/NewsReader;


# direct methods
.method static synthetic $SWITCH_TABLE$com$netease$newsreader$activity$NewsReader$TabEnum()[I
    .locals 3

    .prologue
    .line 1347
    sget-object v0, Lcom/netease/newsreader/activity/NewsReader$28;->$SWITCH_TABLE$com$netease$newsreader$activity$NewsReader$TabEnum:[I

    if-eqz v0, :cond_0

    :goto_0
    return-object v0

    :cond_0
    invoke-static {}, Lcom/netease/newsreader/activity/NewsReader$TabEnum;->values()[Lcom/netease/newsreader/activity/NewsReader$TabEnum;

    move-result-object v0

    array-length v0, v0

    new-array v0, v0, [I

    :try_start_0
    sget-object v1, Lcom/netease/newsreader/activity/NewsReader$TabEnum;->Comment:Lcom/netease/newsreader/activity/NewsReader$TabEnum;

    invoke-virtual {v1}, Lcom/netease/newsreader/activity/NewsReader$TabEnum;->ordinal()I

    move-result v1

    const/4 v2, 0x4

    aput v2, v0, v1
    :try_end_0
    .catch Ljava/lang/NoSuchFieldError; {:try_start_0 .. :try_end_0} :catch_4

    :goto_1
    :try_start_1
    sget-object v1, Lcom/netease/newsreader/activity/NewsReader$TabEnum;->News:Lcom/netease/newsreader/activity/NewsReader$TabEnum;

    invoke-virtual {v1}, Lcom/netease/newsreader/activity/NewsReader$TabEnum;->ordinal()I

    move-result v1

    const/4 v2, 0x1

    aput v2, v0, v1
    :try_end_1
    .catch Ljava/lang/NoSuchFieldError; {:try_start_1 .. :try_end_1} :catch_3

    :goto_2
    :try_start_2
    sget-object v1, Lcom/netease/newsreader/activity/NewsReader$TabEnum;->Pictures:Lcom/netease/newsreader/activity/NewsReader$TabEnum;

    invoke-virtual {v1}, Lcom/netease/newsreader/activity/NewsReader$TabEnum;->ordinal()I

    move-result v1

    const/4 v2, 0x3

    aput v2, v0, v1
    :try_end_2
    .catch Ljava/lang/NoSuchFieldError; {:try_start_2 .. :try_end_2} :catch_2

    :goto_3
    :try_start_3
    sget-object v1, Lcom/netease/newsreader/activity/NewsReader$TabEnum;->Topic:Lcom/netease/newsreader/activity/NewsReader$TabEnum;

    invoke-virtual {v1}, Lcom/netease/newsreader/activity/NewsReader$TabEnum;->ordinal()I

    move-result v1

    const/4 v2, 0x2

    aput v2, v0, v1
    :try_end_3
    .catch Ljava/lang/NoSuchFieldError; {:try_start_3 .. :try_end_3} :catch_1

    :goto_4
    :try_start_4
    sget-object v1, Lcom/netease/newsreader/activity/NewsReader$TabEnum;->Vote:Lcom/netease/newsreader/activity/NewsReader$TabEnum;

    invoke-virtual {v1}, Lcom/netease/newsreader/activity/NewsReader$TabEnum;->ordinal()I

    move-result v1

    const/4 v2, 0x5

    aput v2, v0, v1
    :try_end_4
    .catch Ljava/lang/NoSuchFieldError; {:try_start_4 .. :try_end_4} :catch_0

    :goto_5
    sput-object v0, Lcom/netease/newsreader/activity/NewsReader$28;->$SWITCH_TABLE$com$netease$newsreader$activity$NewsReader$TabEnum:[I

    goto :goto_0

    :catch_0
    move-exception v1

    goto :goto_5

    :catch_1
    move-exception v1

    goto :goto_4

    :catch_2
    move-exception v1

    goto :goto_3

    :catch_3
    move-exception v1

    goto :goto_2

    :catch_4
    move-exception v1

    goto :goto_1
.end method

.method constructor <init>(Lcom/netease/newsreader/activity/NewsReader;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/netease/newsreader/activity/NewsReader$28;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    .line 1347
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method static synthetic access$1(Lcom/netease/newsreader/activity/NewsReader$28;)Lcom/netease/newsreader/activity/NewsReader;
    .locals 1
    .parameter

    .prologue
    .line 1347
    iget-object v0, p0, Lcom/netease/newsreader/activity/NewsReader$28;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    return-object v0
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 6
    .parameter "arg0"

    .prologue
    const/4 v5, 0x0

    .line 1352
    iget-object v2, p0, Lcom/netease/newsreader/activity/NewsReader$28;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v2}, Lcom/netease/newsreader/util/Tools;->CheckNetwork(Landroid/content/Context;)Z

    move-result v2

    if-nez v2, :cond_1

    .line 1353
    iget-object v2, p0, Lcom/netease/newsreader/activity/NewsReader$28;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    iget-object v3, p0, Lcom/netease/newsreader/activity/NewsReader$28;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    const-string v4, "\u7f51\u7edc\u8fde\u63a5\u9519\u8bef"

    invoke-static {v3, v4, v5}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v3

    invoke-static {v2, v3}, Lcom/netease/newsreader/activity/NewsReader;->access$37(Lcom/netease/newsreader/activity/NewsReader;Landroid/widget/Toast;)V

    .line 1354
    iget-object v2, p0, Lcom/netease/newsreader/activity/NewsReader$28;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v2}, Lcom/netease/newsreader/activity/NewsReader;->access$38(Lcom/netease/newsreader/activity/NewsReader;)Landroid/widget/Toast;

    move-result-object v2

    invoke-virtual {v2}, Landroid/widget/Toast;->show()V

    .line 1442
    :cond_0
    :goto_0
    return-void

    .line 1358
    :cond_1
    iget-object v2, p0, Lcom/netease/newsreader/activity/NewsReader$28;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v2}, Lcom/netease/newsreader/activity/NewsReader;->access$14(Lcom/netease/newsreader/activity/NewsReader;)Ljava/lang/String;

    move-result-object v0

    .line 1359
    .local v0, id:Ljava/lang/String;
    invoke-static {}, Lcom/netease/newsreader/activity/NewsReader$28;->$SWITCH_TABLE$com$netease$newsreader$activity$NewsReader$TabEnum()[I

    move-result-object v2

    iget-object v3, p0, Lcom/netease/newsreader/activity/NewsReader$28;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v3}, Lcom/netease/newsreader/activity/NewsReader;->access$156(Lcom/netease/newsreader/activity/NewsReader;)Lcom/netease/newsreader/activity/NewsReader$TabEnum;

    move-result-object v3

    invoke-virtual {v3}, Lcom/netease/newsreader/activity/NewsReader$TabEnum;->ordinal()I

    move-result v3

    aget v2, v2, v3

    packed-switch v2, :pswitch_data_0

    .line 1380
    :goto_1
    :pswitch_0
    iget-object v2, p0, Lcom/netease/newsreader/activity/NewsReader$28;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v2}, Lcom/netease/newsreader/activity/NewsReader;->access$18(Lcom/netease/newsreader/activity/NewsReader;)Landroid/widget/Button;

    move-result-object v2

    const v3, 0x7f0b001b

    invoke-virtual {v2, v3}, Landroid/widget/Button;->setText(I)V

    .line 1382
    iget-object v2, p0, Lcom/netease/newsreader/activity/NewsReader$28;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v2}, Lcom/netease/newsreader/activity/NewsReader;->access$17(Lcom/netease/newsreader/activity/NewsReader;)Landroid/widget/ProgressBar;

    move-result-object v2

    invoke-virtual {v2, v5}, Landroid/widget/ProgressBar;->setVisibility(I)V

    .line 1384
    iget-object v2, p0, Lcom/netease/newsreader/activity/NewsReader$28;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v2}, Lcom/netease/newsreader/activity/NewsReader;->access$148(Lcom/netease/newsreader/activity/NewsReader;)Ljava/lang/String;

    move-result-object v1

    .line 1386
    .local v1, url:Ljava/lang/String;
    new-instance v2, Lcom/netease/newsreader/activity/NewsReader$28$1;

    invoke-direct {v2, p0, v1, v0}, Lcom/netease/newsreader/activity/NewsReader$28$1;-><init>(Lcom/netease/newsreader/activity/NewsReader$28;Ljava/lang/String;Ljava/lang/String;)V

    .line 1441
    invoke-virtual {v2}, Lcom/netease/newsreader/activity/NewsReader$28$1;->start()V

    goto :goto_0

    .line 1361
    .end local v1           #url:Ljava/lang/String;
    :pswitch_1
    iget-object v2, p0, Lcom/netease/newsreader/activity/NewsReader$28;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v2}, Lcom/netease/newsreader/activity/NewsReader;->access$16(Lcom/netease/newsreader/activity/NewsReader;)Ljava/util/HashMap;

    move-result-object v2

    invoke-virtual {v2, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    if-nez v2, :cond_0

    .line 1364
    iget-object v2, p0, Lcom/netease/newsreader/activity/NewsReader$28;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v2}, Lcom/netease/newsreader/activity/NewsReader;->access$16(Lcom/netease/newsreader/activity/NewsReader;)Ljava/util/HashMap;

    move-result-object v2

    invoke-virtual {v2, v0, v0}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    goto :goto_1

    .line 1367
    :pswitch_2
    iget-object v2, p0, Lcom/netease/newsreader/activity/NewsReader$28;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v2}, Lcom/netease/newsreader/activity/NewsReader;->access$16(Lcom/netease/newsreader/activity/NewsReader;)Ljava/util/HashMap;

    move-result-object v2

    const-string v3, "topci"

    invoke-virtual {v2, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    if-nez v2, :cond_0

    .line 1370
    iget-object v2, p0, Lcom/netease/newsreader/activity/NewsReader$28;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v2}, Lcom/netease/newsreader/activity/NewsReader;->access$16(Lcom/netease/newsreader/activity/NewsReader;)Ljava/util/HashMap;

    move-result-object v2

    const-string v3, "topci"

    const-string v4, "topci"

    invoke-virtual {v2, v3, v4}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    goto :goto_1

    .line 1373
    :pswitch_3
    iget-object v2, p0, Lcom/netease/newsreader/activity/NewsReader$28;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v2}, Lcom/netease/newsreader/activity/NewsReader;->access$16(Lcom/netease/newsreader/activity/NewsReader;)Ljava/util/HashMap;

    move-result-object v2

    const-string v3, "top"

    invoke-virtual {v2, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    if-nez v2, :cond_0

    .line 1376
    iget-object v2, p0, Lcom/netease/newsreader/activity/NewsReader$28;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v2}, Lcom/netease/newsreader/activity/NewsReader;->access$16(Lcom/netease/newsreader/activity/NewsReader;)Ljava/util/HashMap;

    move-result-object v2

    const-string v3, "top"

    const-string v4, "top"

    invoke-virtual {v2, v3, v4}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    goto :goto_1

    .line 1359
    nop

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_1
        :pswitch_2
        :pswitch_0
        :pswitch_3
    .end packed-switch
.end method
